﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name="renderer" content=”webkit|ie-comp|ie-stand”/>
    <meta name="viewport" content="width=device-width"/>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <link rel="icon" href="/favicon.ico">

    <title>凭证列表</title>
    <link href="/assets/plugins/pace/pace-theme-minimal.css" rel="stylesheet"/>
    <link href="/assets/plugins/font/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/assets/plugins/bootstrap/bootstrap.min.css" rel="stylesheet"/>

    <script src="/assets/plugins/pace/pace.min.js"></script>
    <script src="/assets/plugins/jquery/jquery-1.10.2.min.js"></script>
    <script src="/assets/plugins/bootstrap/bootstrap.min.js"></script>
    <script src="/assets/plugins/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>


    <link href="/module/style/lr-common.css" rel="stylesheet"/>
    <link href="/module/plugin/scroll/scroll.css" rel="stylesheet"/>
    <link href="/module/style/lr-iframe-index.css" rel="stylesheet"/>
    <link href="/module/plugin/layout/lr-layout.css" rel="stylesheet"/>
    <link href="/module/plugin/tree/lr-tree.css" rel="stylesheet"/>
    <link href="/module/plugin/select/lr-select.css" rel="stylesheet"/>

    <link href="/module/plugin/timeline/lr-timeline.css" rel="stylesheet"/>
    <link href="/module/plugin/formselect/lr-formselect.css" rel="stylesheet"/>
    <link href="/module/plugin/custmerquery/lr-custmerquery.css" rel="stylesheet"/>
    <link href="/module/plugin/date/lr-datepicker.css" rel="stylesheet"/>
    <link href="/module/plugin/grid/jfgrid.css" rel="stylesheet"/>

    <!-- hiprint -->
    <link href="/assets/plugins/hiprint/css/hiprint.css" rel="stylesheet"/>
    <link href="/assets/plugins/hiprint/css/print-lock.css" rel="stylesheet"/>


    <link rel="stylesheet" href="/assets/plugins/hiprint/css/print-lock.css">
    <script src="/assets/plugins/hiprint/hiprint.bundle.js"></script>
    <script src="/assets/plugins/hiprint/polyfill.min.js"></script>
    <script src="/assets/plugins/hiprint/plugins/jquery.hiwprint.js"></script>
    <script src="/assets/plugins/hiprint/plugins/jquery.minicolors.min.js"></script>
<!--    <script src="/assets/plugins/hiprint/plugins/socket.io.js"></script>-->

    <link rel="stylesheet" href="/module/plugin/layerselect/lr-layerselect.css">
    <script src="/module/plugin/layerselect/lr-layerselect.js"></script>

    <script src="/assets/plugins/datepicker/WdatePicker.js"></script>
    <!--[if lt IE 9]>
    <script src="/assets/plugins/bootstrap/html5shiv.min.js"></script>
    <script src="/assets/plugins/bootstrap/respond.min.js"></script>
    <![endif]-->
    <script src="/module/formatMoney.js"></script>
    <script>
        function request(d) {
            for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) {
                var b = c[a].split("=");
                if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1])
            }
            return ""
        };
    </script>

</head>

<body class="Chrome 64.0 lr-uitheme-top">

<div class="lr-layout">
    <div class="lr-layout-center">
        <div class="lr-layout-wrap lr-layout-wrap-notitle">
            <div class="lr-layout-tool">
                <div class="lr-layout-tool-left">
                    <div class="lr-layout-tool-item">
                        <div id="multiple_condition_query">
                            <div class="lr-query-formcontent">
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">摘要</div>
                                    <input id="zy" type="text" class="form-control"/>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">凭证号</div>
                                    <input id="pzhStart" type="number" class="form-control"/>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">至</div>
                                    <input id="pzhEnd" type="number" class="form-control"/>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">会计期间</div>
                                    <input id="pzrqStart" type="text" class="form-control lr-input-wdatepicker" autocomplete="off" onfocus="WdatePicker({lang:'zh-cn'})"/>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">至</div>
                                    <input id="pzrqEnd" type="text" class="form-control lr-input-wdatepicker" autocomplete="off" onfocus="WdatePicker({lang:'zh-cn'})"/>
                                </div>
                                <div class="col-xs-6 lr-form-item">
                                    <div class="lr-form-item-title">会计科目</div>
                                    <div id="kjkmCodes" class="form-control">
                                        <input type="hidden"/>
                                    </div>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">借金额</div>
                                    <input id="jStart" type="number" class="form-control"/>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">至</div>
                                    <input id="jEnd" type="number" class="form-control"/>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">贷金额</div>
                                    <input id="dStart" type="number" class="form-control"/>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">至</div>
                                    <input id="dEnd" type="number" class="form-control"/>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">审核状态</div>
                                    <div class="radio" id="isSh">
                                        <label>
                                            <input id="isSh1" name="isSh" type="radio" value="-1" checked="checked"/>
                                            全部
                                        </label>
                                        <label>
                                            <input id="isSh2" name="isSh" type="radio" value="1"/>
                                            是
                                        </label>
                                        <label>
                                            <input id="isSh3" name="isSh" type="radio" value="0"/>
                                            否
                                        </label>
                                    </div>
                                </div>

                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">记账状态</div>
                                    <div class="radio" id="isJizhang">
                                        <label>
                                            <input id="isJizhang1" name="isJizhang" type="radio" value="-1" checked="checked"/>
                                            全部
                                        </label>
                                        <label>
                                            <input id="isJizhang2" name="isJizhang" type="radio" value="1"/>
                                            是
                                        </label>
                                        <label>
                                            <input id="isJizhang3" name="isJizhang" type="radio" value="0"/>
                                            否
                                        </label>
                                    </div>
                                </div>

                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">期初凭证</div>
                                    <div class="radio" id="isQc">
                                        <label>
                                            <input id="isQc1" name="isQc" type="radio" value="-1" checked="checked"/>
                                            全部
                                        </label>
                                        <label>
                                            <input id="isQc2" name="isQc" type="radio" value="1"/>
                                            是
                                        </label>
                                        <label>
                                            <input id="isQc3" name="isQc" type="radio" value="0"/>
                                            否
                                        </label>
                                    </div>
                                </div>

                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">结转凭证</div>
                                    <div class="radio" id="isJz">
                                        <label>
                                            <input id="isJz1" name="isJz" type="radio" value="-1" checked="checked"/>
                                            全部
                                        </label>
                                        <label>
                                            <input id="isJz2" name="isJz" type="radio" value="1"/>
                                            是
                                        </label>
                                        <label>
                                            <input id="isJz3" name="isJz" type="radio" value="0"/>
                                            否
                                        </label>
                                    </div>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">临时凭证</div>
                                    <div class="radio" id="isTemp">
                                        <label>
                                            <input id="isTemp1" name="isTemp" type="radio" value="-1" checked="checked"/>
                                            全部
                                        </label>
                                        <label>
                                            <input id="isTemp2" name="isTemp" type="radio" value="1"/>
                                            是
                                        </label>
                                        <label>
                                            <input id="isTemp3" name="isTemp" type="radio" value="0"/>
                                            否
                                        </label>
                                    </div>
                                </div>
                                <div class="col-xs-6 lr-form-item">
                                    <div class="lr-form-item-title"></div>
                                    <input type="hidden" class="form-control"/>
                                </div>
                                <div class="col-xs-6 lr-form-item">
                                    <div class="lr-form-item-title">项目</div>
                                    <div id="xmCodes" class="form-control">
                                        <input type="hidden"/>
                                    </div>
                                </div>
                                <div class="col-xs-6 lr-form-item">
                                    <div class="lr-form-item-title">部门</div>
                                    <div id="bmCodes" class="form-control">
                                        <input type="hidden"/>
                                    </div>
                                </div>
                                <div class="col-xs-6 lr-form-item">
                                    <div class="lr-form-item-title">案件</div>
                                    <div id="ajCodes" class="form-control">
                                        <input type="hidden"/>
                                    </div>
                                </div>
                                <div class="col-xs-6 lr-form-item">
                                    <div class="lr-form-item-title">票据</div>
                                    <div id="pjhCodes" class="form-control">
                                        <input type="hidden"/>
                                    </div>
                                </div>
                                <div class="col-xs-6 lr-form-item">
                                    <div class="lr-form-item-title">支票</div>
                                    <div id="zphCodes" class="form-control">
                                        <input type="hidden"/>
                                    </div>
                                </div>
                                <div class="col-xs-6 lr-form-item">
                                    <div class="lr-form-item-title">往来</div>
                                    <div id="wldxCodes" class="form-control">
                                        <input type="hidden"/>
                                    </div>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">借金额(辅)</div>
                                    <input id="extjStart" type="number" class="form-control"/>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">至</div>
                                    <input id="extjEnd" type="number" class="form-control"/>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">贷金额(辅)</div>
                                    <input id="extdStart" type="number" class="form-control"/>
                                </div>
                                <div class="col-xs-3 lr-form-item">
                                    <div class="lr-form-item-title">至</div>
                                    <input id="extdEnd" type="number" class="form-control"/>
                                </div>

                            </div>
                        </div>
                    </div>
                    <div class="lr-layout-tool-item">
                        <div id="company_select" style="border-radius: 4px;width:200px;"></div>
                    </div>
                    <div class="lr-layout-tool-item">
                        <div id="zt_select" style="border-radius: 4px;width:260px;"></div>
                    </div>
                    <div class="lr-layout-tool-item">
                        <div id="kjnd_select" style="border-radius: 4px;width:60px;"></div>
                    </div>
                    <div class="lr-layout-tool-item">
                        <div id="pzrqMonth" style="border-radius: 4px;width:60px;"></div>
                    </div>
                    <div class="lr-layout-tool-item">
                        <a id="btn_Search" class="btn btn-primary btn-sm"><i class="fa fa-search"></i>&nbsp;<span class="lrlg">查询</span></a>
                    </div>
                </div>
                <div class="lr-layout-tool-right">
                    <div class=" btn-group btn-group-sm">
                        <a id="lr_refresh" class="btn btn-default"><i class="fa fa-refresh"></i></a>
                        <a id="lr_multiselect" class="btn btn-default"><i class="fa fa-ellipsis-v"></i>&nbsp;<span class="lrlg">切换单选/多选</span></a>
                    </div>
                    <div class=" btn-group btn-group-sm" learun-authorize="yes">
                        <a id="lr_add" class="btn btn-primary"><i class="fa fa-plus"></i>&nbsp;<span class="lrlg">新增</span></a>
                        <a id="lr_edit" class="btn btn-warning"><i class="fa fa-pencil-square-o"></i>&nbsp;<span class="lrlg">编辑</span></a>
                        <a id="lr_delete" class="btn btn-danger"><i class="fa fa-trash-o"></i>&nbsp;<span class="lrlg">删除</span></a>

                        <a id="lr_view" class="btn btn-default"><i class="fa fa-eye"></i>&nbsp;<span class="lrlg">查看</span></a>
                        <a id="lr_preview" class="btn btn-default"><i class="fa fa-print"></i>&nbsp;<span class="lrlg">打印</span></a>
                        <a id="lr_exportPdf" class="btn btn-default"><i class="fa fa-file-pdf-o"></i>&nbsp;<span class="lrlg">导出</span></a>
                        <a id="lr_exportPdfAll" class="btn btn-default"><i class="fa fa-file-pdf-o"></i>&nbsp;<span class="lrlg">导出当前</span></a>
                        <a id="lr_auth_group" class="btn btn-default dropdown-toggle" data-toggle="dropdown"
                           aria-expanded="false">
                            <i class="fa fa-reorder"></i>&nbsp;<span class="lrlg">凭证审核</span><span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu pull-right">
                            <li id="lr_auth"><a><i class="fa fa-eye"></i>&nbsp;<span class="lrlg">审核</span></a></li>
                            <li id="lr_un_auth"><a><i class="fa fa-user-times"></i>&nbsp;<span class="lrlg">取消审核</span></a></li>
                            <li id="lr_review"><a><i class="fa fa-search"></i>&nbsp;<span class="lrlg">检查异常凭证</span></a></li>
                        </ul>
                    </div>
                </div>
            </div>

            <div class="lr-layout-body" id="gridtable"></div>

        </div>
    </div>

    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
        <div class="modal-dialog modal-lg" role="document" style="display: inline-block; width: auto;">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title" id="myModalLabel">打印预览</h4>
                </div>

                <div class="modal-body">
                    <button type="button" class="btn btn-danger" id="A4_printByHtml">直接打印</button>
                    <span id="printerlist"></span>
                    <div class="prevViewDiv"></div>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>

                </div>
            </div>
        </div>
    </div>

</div>


<script src="index.js"></script>


<script src="/module/config.js"></script>
<script src="/module/plugin/resize/resize.js"></script>
<script src="/module/plugin/mousewheel/mousewheel.js"></script>
<script src="/module/plugin/layout/lr-layout.js"></script>
<script src="/module/plugin/scroll/scroll.js"></script>
<script src="/module/plugin/tree/lr-tree.js"></script>
<script src="/module/plugin/select/lr-select.js"></script>
<script src="/module/plugin/timeline/lr-timeline.js"></script>
<script src="/module/plugin/formselect/lr-formselect.js"></script>
<script src="/module/plugin/date/lr-datepicker.js"></script>
<script src="/module/plugin/grid/jfgrid.js"></script>
<script src="/module/script/lr-validator.js"></script>
<script src="/module/script/lr-authorize.js"></script>
<script src="/module/script/lr-excel.js"></script>
<script src="/module/script/lr-form.js"></script>

<script>
    var lrModuleButtonList;
    var lrModuleColumnList;
    var lrModule;
    $(function () {
        $('#lr_layout').lrLayout();


        top.learun.httpAsync('GET', config.base_server() + 'menus/findByPath?path=' + window.location.pathname + '&access_token=' + config.getToken().access_token, null, function (data) {
            lrModuleButtonList = data.btns;
            lrModuleColumnList = data.cols;
            lrModule = data;
            if (!!window.bootstrap) {
                bootstrap(jQuery, top.learun);
            }
        });


    });
</script>
</body>

</html>



